package com.yyfax.pay.vo.depository;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 网银充值请求实体
 * 
 * @author buyi
 * @date 2017-08-30 10:09:32
 * @since v2.0.0
 */
@SuppressWarnings("serial")
public class EBankChargeReq extends ChargeBaseReq {
	/** 支付主体类型 */
	@NotBlank(message = "subjectType不能为空")
	private String subjectType;
	@NotBlank(message = "bankCode不能为空")
	private String bankCode;
	@NotBlank(message = "pageBackUrl不能为空")
	private String pageBackUrl;
	@NotBlank(message = "backUrl不能为空")
	private String backUrl;

	public String getSubjectType() {
		return subjectType;
	}

	public void setSubjectType(String subjectType) {
		this.subjectType = subjectType;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getPageBackUrl() {
		return pageBackUrl;
	}

	public void setPageBackUrl(String pageBackUrl) {
		this.pageBackUrl = pageBackUrl;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
